package jwr;

import java.awt.Container;

import javax.swing.JFrame;

public class KeyEventMain extends JFrame{
	public KeyEventMain() {
		Container ct = getContentPane();
		KeyAction ka = new KeyAction();
		ka.setFocusable(true);
		ct.add(ka);
	}
	public static void main(String[] args) {
		KeyEventMain ked = new KeyEventMain();
		ked.setTitle("연습");
		ked.setVisible(true);
		ked.setSize(300,400);
		ked.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

}
